<div class="panel panel-info">
	<?php if ($confirm): ?>
		<h4 class="panel-heading"><i class="glyphicon glyphicon-user"></i> Đổi mật khẩu mới</h4>
		  		<?php echo $this->Session->flash(); ?>
		  		<?php echo $this->element('errors'); ?>
		  		<?php echo $this->Form->create('User',array('class'=>"form-horizontal",'inputDefaults'=>array('label'=>false))); ?>
				  <div class="control-group">
				    <label class="control-label" for="inputUsername">Mật khẩu mới</label>
				    <div class="controls">
				      <?php echo $this->Form->input('password',array('class'=>'form-control error','placeholder'=>"Nhập mật khẩu mới",'error'=>false)); ?>
				    </div>
				  </div>
				  <div class="control-group">
				    <label class="control-label" for="inputPassword">Xác nhận mật khẩu</label>
				    <div class="controls">
				      <?php echo $this->Form->input('confirm_password',array('class'=>'form-control error','placeholder'=>"Xác nhận mật khẩu", 'type'=>'password','error'=>false)); ?>
				    </div>
				  </div>
				  <div class="control-group">
				    <div class="controls">
				      <hr>			      
				      <?php echo $this->Form->button('Lưu',array('type'=>"submit", 'class'=>"col-lg-2 btn btn-primary")); ?>
				    </div>
				  </div>
				<?php echo $this->Form->end(); ?>
	<?php else: ?>
		Xác nhận sai!
	<?php endif ?>
</div>